<template>
  <div class="load">
    <div></div>
  </div>
</template>
<script>
export default {
  name: 'loading'
}
</script>
<style lang="less" scoped>
.load {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: linear-gradient(#9292e0, #fff 50%);
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-around;
  border-radius: 50%;
  animation: loading 1s infinite linear;
  > div {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
  }
}
@keyframes loading {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
</style>
